package com.ruoyi.student.mapper;

import com.ruoyi.student.domain.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {

    List<Student> queryAll();

    int addStudent(Student student);

    List<Student> queryStudentByName(String sname);

    void updateStudent(Student student);

    void deleteStudent(int id);

}
